package com.ywl.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 图书实体类
 *
 * @author 24040
 * @name Book
 * @date 2022-08-21 20:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class Book {
    //id
    private Long id;
    //书名
    private String name;

    //分类
    private String category;//哲学,小说

    //评分
    private Integer score;

    //简介
    private String intro;
}
